﻿using System;

namespace Nb.Common.SystemDates
{
    public class SystemDateHelper
    {
        /// <summary>
        /// 获取系统时间
        /// </summary>
        public static DateTime Now()
        {
            var systemDateService = SystemDateServiceRegistry.Instance.GetService();
            var dateTime = systemDateService.Now();
            return dateTime;
        }
    }
}
